package com.ruoyi.project.data.domain;

import com.ruoyi.project.system.domain.SysDept;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 人员信息对象 weight_worker
 * 
 * @author ruoyi
 * @date 2020-03-21
 */
public class WeightWorker extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 场站id */
    @Excel(name = "场站id")
    private Long stationId;

    /** 权限（1-运单发起；2-运单确认） */
    @Excel(name = "权限", readConverterExp = "1=-运单发起；2-运单确认")
    private String permissions;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phone;
    @Excel(name = "所属场站")
    private String stationName;

    /** 密码 */
    private String password;

    /** 删除标志位 */
    private String delFlag;

    /** 创建人 */
    private String createId;

    /** 更新人 */
    private String updateId;

    /** 人员类型（1-场站；2-商户）**/
    private String workType;

    /** 特殊设备权限（1-特殊设备检查；2-异常确认）**/
    @Excel(name = "特殊设备权限", readConverterExp = "1=-特殊设备检查；2-异常确认")
    private String specialEquipmentPermissions;

    /** 商户id **/
    private Long posId;

    /** 商户名称 */
    private String posName;

    private SysDept sysDept;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStationId(Long stationId) 
    {
        this.stationId = stationId;
    }

    public Long getStationId() 
    {
        return stationId;
    }
    public void setPermissions(String permissions) 
    {
        this.permissions = permissions;
    }

    public String getPermissions() 
    {
        return permissions;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setCreateId(String createId) 
    {
        this.createId = createId;
    }

    public String getCreateId() 
    {
        return createId;
    }
    public void setUpdateId(String updateId) 
    {
        this.updateId = updateId;
    }

    public String getUpdateId() 
    {
        return updateId;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType;
    }

    public Long getPosId() {
        return posId;
    }

    public void setPosId(Long posId) {
        this.posId = posId;
    }

    public String getPosName() {
        return posName;
    }

    public void setPosName(String posName) {
        this.posName = posName;
    }

    public SysDept getSysDept() {
        return sysDept;
    }

    public void setSysDept(SysDept sysDept) {
        this.sysDept = sysDept;
    }

    public String getSpecialEquipmentPermissions() {
        return specialEquipmentPermissions;
    }

    public void setSpecialEquipmentPermissions(String specialEquipmentPermissions) {
        this.specialEquipmentPermissions = specialEquipmentPermissions;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stationId", getStationId())
            .append("permissions", getPermissions())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createId", getCreateId())
            .append("updateTime", getUpdateTime())
            .append("updateId", getUpdateId())
            .append("remark", getRemark())
            .toString();
    }
}
